package com.itheima.a08threadmethod5;

public class ThreadDemo {
    public static void main(String[] args) throws InterruptedException {
        MyThread m=new MyThread();
        m.setName("土豆");
        m.start();

        //插入线程，将m这个线程插入到当前线程之前
        //m.join();

        for(int i=0;i<10;i++){
            System.out.println("main线程"+i);
        }
    }
}
